//
//  CRSettingItem.m
//  CRChatRoom
//
//  Created by lanou3g on 15/11/18.
//  Copyright © 2015年 SecondGroup. All rights reserved.
//

#import "CRSetItem.h"



@implementation CRSetItem

+ (instancetype)itemWithIcon:(NSString *)icon title:(NSString *)title
{
    // 有可能是子类调用
    CRSetItem *item = [[self alloc] init];
    item.icon = icon;
    item.title = title;
    return item;
}


+ (instancetype)itemWithTitle:(NSString *)title
{
    return [self itemWithIcon:nil title:title];
}


@end
